package com.javasm.commons.basic;



import java.util.List;

public interface BaseService<T> {
    T queryById(Object id);
    List<T> queryByIds(List ids);
    List<T> queryList(T obj);

    Boolean insert(T obj);
    Boolean update(T obj);

    Boolean deleteById(Object id);
    Boolean deleteByIds(List ids);
}
